/**
 * Created by wangjz on 2018/11/27.
 */
import React, { Component } from 'react';

class Logo extends Component {
  render() {
    const { theme } = this.props;
    return (
      <div>
        <img style={{ margin: 'auto', height: 35 }}
             src={theme == 'light' ? './public/img/logo-dark-img.png' : './public/img/logo-light-img.png'}/>
        <img style={{ margin: 'auto', height: 35 }}
             src={theme == 'light' ? './public/img/logo-dark-title.png' : './public/img/logo-light-title.png'}/>
      </div>
    );
  }
}

export default Logo;
